package com.orhon.smartcampus.modules.core.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HomeController {

    @RequestMapping("/")
    public String homePage(){
        return "<form action=\"/export/toLead\" method=\"post\" enctype=\"multipart/form-data\">\n" + 
        		"    <input type=\"file\" name=\"file\">\n" + 
        		"    <button type=\"submit\">上传</button>\n" + 
        		"</form>";
    }
}
